package me.magicall.db.sql.table;

import me.magicall.db.sql.AbsHasAs;
import me.magicall.db.sql.AsableElement;
import me.magicall.db.sql.Database;
import me.magicall.db.sql.Domain;
import me.magicall.db.sql.from.Fromable;
import me.magicall.db.sql.from.TableWithAs;

/**
 * 表
 * 
 * @author MaGiCalL
 */
public class Table extends AsableElement<Database> implements Fromable, Domain {

	public Table() {
		super();
	}

	public Table(final String name) {
		super(name);
	}

	public Table(final String name, final Database db) {
		super(name, db);
	}

	@Override
	protected AbsHasAs newAsedWrapper() {
		return new TableWithAs();
	}
}
